package com.xing.oauth.common.exception;

import com.xing.oauth.common.response.ResultCode;

public class TokenException extends RuntimeException {


    /**
     * 错误代码
     * 0-1开头
     */
    ResultCode resultCode;

    public TokenException(ResultCode resultCode) {
        super(resultCode.message());
        this.resultCode = resultCode;
    }


    /**
     * 错误代码
     * 2-5开头
     */


}
